﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StyleMVVM.DependencyInjection.Conditions
{
	public sealed class WhenDebuggerIsNotAttached : IExportCondition
	{
		public bool ConditionMeet(IDependencyInjectionContainer container,
		                          IInjectionContext injectionContext,
		                          IExportStrategy exportStrategy)
		{
			return !Debugger.IsAttached;
		}
	}
}
